﻿using System;
using System.Linq;

namespace BattleFury.Lib.GameEvents
{
    public class GameEventMovementUpdate : GameEvent
    {
        GameEventType GameEvent.Type { get { return GameEventType.MovementUpdate; } }
        object GameEvent.Data { get; set; }
        long GameEvent.ServerEventTime { get { return _serverEventTime; } }

        private long _serverEventTime;
        public Microsoft.Xna.Framework.Vector2 destination;
        public float Velocity;
        
        public GameEventMovementUpdate(long ServerEventTime, Microsoft.Xna.Framework.Vector2 destination, float Velocity)
        {
            _serverEventTime = ServerEventTime;
            this.destination = destination;
            this.Velocity = Velocity;
        }
    }
}
